package com.aaa.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName menu
 */
@Data
public class Menu implements Serializable {
    /**
     * 菜单id
     */
    private Integer mid;

    /**
     * 菜单名
     */
    private String mname;

    /**
     * 菜单跳转页面
     */
    private String murl;

    /**
     * 父id
     */
    private Integer mpid;

    /**
     * 图标
     */
    private String icon;
    //表示当前菜单对象下的子菜单
    private List<Menu> children=new ArrayList<>();

    private static final long serialVersionUID = 1L;
}